package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SenderSpaceInfo implements Trans<SenderSpaceInfo, CompleteEntity.SenderSpaceInfo> {

    /**
     * 可用空间
     */
    private Long freeStorage;

    /**
     * 总空间
     */
    private Long totalStorage;

    /**
     * 可用内存
     */
    private Long freeMemory;

    /**
     * 总内存
     */
    private Long totalMemory;

    /**
     * CPU使用率
     */
    private Integer cpuUsage;
}

